fn main() {
    let number = 7;
    if number < 10 {
        println!("Less than ten");
    } else {
        println!("Not Less than ten");
    }
    let mut times = 1;
    let _y = loop {
        times += 1;
        if times > 50 {
            break times;
        }else {
            print!("{}\t", times);
        }
    };
    print!("\n");

    while times!=0 {
        print!("{}\t", times);
        times -= 1;
    }
    print!("\n");

    println!("After loop times is {}", times);
    let days = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
    for x in days.iter() {
        print!("Today is {}\t", x);
    }
    print!("\n");

    for n in (1..4).rev(){
        print!("{}\t", n)
    }


}
